/* @font-face {
    font-family: Millik;
    font-weight: 700;
    src: url(./asset/font/Millik.c3f91cb.ttf) format("truetype");
    text-rendering: optimizeLegibility;
} */

:root {
    --post-spacing: 1.78vw;
    --post-size: 25vw;
    --mask-size: 100vw;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}


h3 {
    font-size: 30%;
}

.Title2 {
    color: aliceblue;
    display: flex;
    justify-content: center;
    margin: 100px 0 0 0;
    padding: 30px 0 0 0;
}

.Title2 p {
    font-size: 4rem;
    font-weight: 800;
    white-space: nowrap;
}

#banner {

    overflow: hidden;
    box-sizing: border-box;
    /* 这个width很奇怪 和menu.css里面的.container有关系 */
    width: 90vw;
    height: calc(var(--post-size) / 0.72);

    margin: 0 auto;
    /* 确保容器居中显示 */
    display: flex;
    /* 使用 flexbox 让内容居中 */
    justify-content: center;
    /* 水平居中对齐 */
    align-items: center;
    /* 垂直居中对齐 */

    -webkit-mask: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNDQwIiBoZWlnaHQ9IjUwMCIgdmlld0JveD0iMCAwIDE0NDAgNTAwIiBpZD0iaiI+CiAgPHBhdGggZmlsbD0icmdiKDIwMCwyMDAsMjAwKSIgZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNMCAwczI3NS4wNCAxMDAgNzIwIDEwMFMxNDQwIDAgMTQ0MCAwdjUwMHMtMjc1LjA0LTEwMC03MjAtMTAwUzAgNTAwIDAgNTAwVjB6Ii8+Cjwvc3ZnPgo=);
    mask: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNDQwIiBoZWlnaHQ9IjUwMCIgdmlld0JveD0iMCAwIDE0NDAgNTAwIiBpZD0iaiI+CiAgPHBhdGggZmlsbD0icmdiKDIwMCwyMDAsMjAwKSIgZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNMCAwczI3NS4wNCAxMDAgNzIwIDEwMFMxNDQwIDAgMTQ0MCAwdjUwMHMtMjc1LjA0LTEwMC03MjAtMTAwUzAgNTAwIDAgNTAwVjB6Ii8+Cjwvc3ZnPgo=);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: var(--mask-size);
    mask-size: var(--mask-size);
}

#banner .img-wrapper {

    display: flex;
    justify-content: center;
    /* 确保图片列表居中 */
    width: auto;
    /* 让内容自动适应 */

    /* display: -webkit-box;
    display: -ms-flexbox; */
    display: flex;
    position: absolute;
    width: 100%;
    float: left;
    height: calc(var(--post-size) / 0.72);
    -webkit-transform: translate(13.39vw, 0);
    transform: translate(13.39vw, 0);
    -webkit-animation: admission 1.5s;
    animation: admission 1.5s;
}

#banner .img-wrapper .img-box {
    height: 100%;
    display: inline-block;
    margin-right: var(--post-spacing);
    position: relative;
    cursor: pointer;
}

#banner .img-wrapper .img-box .info {
    position: absolute;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background: rgba(23, 23, 23, 0.5);
    text-align: center;
    color: #fff9f1;
    font-size: 4rem;
}

#banner .img-wrapper .img-box img {
    width: var(--post-size);
    height: 100%;
    -o-object-position: center;
    object-position: center;
    -o-object-fit: cover;
    object-fit: cover;
}

#banner .img-wrapper .img-box:last-child {
    -webkit-transform: translate(-160.68vw, 0);
    transform: translate(-160.68vw, 0);
}

.btn-group {
    height: 15vh;
    display: flex;
    justify-content: center;
    /* -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    -webkit-transition: 1s;
    transition: 1s; */
    /* opacity: 0; */
}

.btn-group .btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 1px solid #ffffff;
    background-color: #000000;
    margin: 10px;
    cursor: pointer;
    -webkit-transition: 0.4s;
    transition: 0.4s;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    z-index: 0;
}

.btn-group .btn:hover {
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
    background-color: #ffffff;
    z-index: 200;
}

.btn-group .btn:hover .icon {
    fill: #000000;
    z-index: 200;
}

.btn-group .btn .icon {
    width: 30px;
    height: 30px;
    z-index: 200;
}

.btn-group .btn .right {
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
    z-index: 200;
}

.img-list {
    left: 0;
}

/* ============悬停=============== */


/* 悬停时的样式 */
#banner .img-wrapper .img-box:hover {
    transition: filter 0.4s ease;
    filter: brightness(150%);
    /* 悬停时的亮度 */
}